﻿using TaskManager.Domain.BusinessObjects;
using TaskManager.Domain.Repositories;

namespace TaskManager.DataAccess.Repositories
{
    internal class TaskRepository : Repository<Task,int>, ITaskRepository
    {
        private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(TaskRepository));

        public TaskRepository(TaskManagerDbContext context)
            : base(context, context.Tasks)
        {
            if (Log.IsDebugEnabled) Log.Debug("Created TaskRepository");
        }
    }
}